feat: add availability scheduler block#104
Merged
Merged
Conversation
Weekly availability editor: per-day spring toggle, time ranges that add/remove with blur-slide + layout reflow, times from the library Select, and a copy menu that clones a day's hours to selected days. Split into components/motion/availability-scheduler/ (types, icon-button, time-select, copy-menu, day-row, index). - add Morph Popover as a popover variant (components/motion/popover-morph.tsx, installs @beui/popover-morph): panel clip-morphs open from the trigger corner with a drop-shadow that hugs the shape - tooltip: render through a portal at fixed coords so it escapes row stacking contexts, drop backdrop-blur for a solid surface
- stack day rows on mobile (header + actions, ranges below), fluid time selects - shrink the day switch a touch - rename gooey popover variant title, drop the example preview stage background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weekly availability editor (cal.com-style), built in beUI's own style.
Block — Availability Scheduler (
blocks)AnimatePresence+SPRING_LAYOUT).Select(scrollable list).components/motion/availability-scheduler/(types,icon-button,time-select,copy-menu,day-row,index).Popover — Morph variant
MorphPopover/MorphPopoverTrigger/MorphPopoverContent(components/motion/popover-morph.tsx), installs as@beui/popover-morph.drop-shadowfilter hugs the clipped shape (box-shadow gets clipped). Open + close use the same spring.popovervariant alongside the renamed Gooey Popover.Tooltip
backdrop-blurfor a solid surface; kept the motion (filter) blur; memoized variants.Misc
bg-cardbox (matches the single-preview stage), so goo/morph panels contrast instead of blending.bun run checkpasses (typecheck, lint, registry — 45 components).